﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SES.CMS.BL;
using SES.CMS.DO;
using System.Data;

namespace SES.CMS.Module
{
    public partial class ucServiceDesign : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                rptServicesDataSource();
        }

        private void rptServicesDataSource()
        {
            rptServices.DataSource = new DataView(new cmsCategoryBL().SelectByParent(22),"IsHompage = 1","",DataViewRowState.CurrentRows);
            rptServices.DataBind();
        }
        protected string FriendlyUrl(string strTitle)
        {
            return Ultility.Change_AV(strTitle);
        }
    }
}